package org.springbus.habit.web.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springbus.habit.web.entity.SpuImageEntity;
import org.springbus.habit.web.entity.SpuSaleAttrList;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@Schema( description = "spu")
public class SpuResponse implements Serializable {

    @Schema(description ="平台属性ID")
    private Long category3Id;

    @Schema(description ="描述")
    private String description;

    @Schema(description ="唯一ID")
    private Long id;

    @Schema(description ="图片列表")
    private List<SpuImageEntity> spuImageList;

    @Schema(description ="spu名称")
    private String spuName;

    @Schema(description ="属性列表")
    private List<SpuSaleAttrList> spuSaleAttrList;

    @Schema(description ="品牌ID")
    private Long tmId;

}
